package com.platform.sys.modular.syncdata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.core.pojo.page.PageResult;
import com.platform.sys.modular.syncdata.entity.SyncDataTarget;
import com.platform.sys.modular.syncdata.param.SyncDataTargetParam;
import com.platform.sys.modular.syncdata.result.TargetResult;

import java.util.List;

/**
 * 同步目标设置service接口
 *
 * @author gyp
 * @date 2022-12-05 11:00:08
 */
public interface SyncDataTargetService extends IService<SyncDataTarget> {

    /**
     * 查询同步目标设置
     *
     * @author gyp
     * @date 2022-12-05 11:00:08
     */
    PageResult<TargetResult> page(SyncDataTargetParam syncDataTargetParam);

    /**
     * 同步目标设置列表
     *
     * @author gyp
     * @date 2022-12-05 11:00:08
     */
    List<SyncDataTarget> list(SyncDataTargetParam syncDataTargetParam);

    /**
     * 添加同步目标设置
     *
     * @author gyp
     * @date 2022-12-05 11:00:08
     */
    void add(SyncDataTargetParam syncDataTargetParam);

    /**
     * 删除同步目标设置
     *
     * @author gyp
     * @date 2022-12-05 11:00:08
     */
    void delete(SyncDataTargetParam syncDataTargetParam);

    /**
     * 编辑同步目标设置
     *
     * @author gyp
     * @date 2022-12-05 11:00:08
     */
    void edit(SyncDataTargetParam syncDataTargetParam);

    /**
     * 查看同步目标设置
     *
     * @author gyp
     * @date 2022-12-05 11:00:08
     */
     SyncDataTarget detail(SyncDataTargetParam syncDataTargetParam);

    /**
     * 导出同步目标设置
     *
     * @author gyp
     * @date 2022-12-05 11:00:08
     */
     void export(SyncDataTargetParam syncDataTargetParam);

}
